package org.example;

import ch.qos.logback.core.util.StringCollectionUtil;

/**
 * @Title : FileTest
 * @Description: :
 * @author: libo@juzishuke.com
 * @date: 2023/11/1 11:23
 * @Version:1.0
 */
public class FileTest {

    public static void main(String[] args) {
        String sftpKey="-----BEGIN OPENSSH PRIVATE KEY-----\\n"
                + "b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW\\n"
                + "QyNTUxOQAAACA8YcgN2EhAd326AKqQjyNBhCakX8uMaGSQlJhnOFCM/QAAAJiovi9vqL4v\\n"
                + "bwAAAAtzc2gtZWQyNTUxOQAAACA8YcgN2EhAd326AKqQjyNBhCakX8uMaGSQlJhnOFCM/Q\\n"
                + "AAAEBNfViJeCeXnR0OSK9XsSrLsJr6lBesfHF1DaD827xT8jxhyA3YSEB3fboAqpCPI0GE\\n"
                + "JqRfy4xoZJCUmGc4UIz9AAAAEWxpYm81MjlAZ21haWwuY29tAQIDBA==\\n"
                + "-----END OPENSSH PRIVATE KEY-----";
        System.out.println(sftpKey);
//        cn.hutool.core.io.FileUtil.writeString(sftpKey,"/app/xmdxm_rsa_key", "UTF-8");
    }

}
